home *** CD-ROM | disk | FTP | other *** search
- NAME
- in.smtpd - SMTP (Simple Mail Transfer Protocol) daemon
-
- SYNOPSIS
- in.smtpd LOGFILE=LOG/K,RMAIL=RECEIVE/K
-
- DESCRIPTION
- SMTP is a simple message protocol, for transmitting EMail and other
- simple messages.
-
- smtpd is started by inetd when it receives a TCP connection request
- at port 25. Once connected it reads command lines and text. smtpd
- closes its connections as on receipt of a QUIT command.
-
- Mail items are passed on to their ultimate recipient using the rmail
- command. The rmail command must therefore be in the path. smtpd
- invokes rmail in the following way:
-
- rmail <mail-item recipient
-
- where mail-item is a temporary file holding the mail item, and
- recipient is the ID of the recipient. RMail can be replaced by a
- mail receiver of your choice using the RMAIL parameter. The value of
- the parameter should be of the form "MyReceive %s %s". The first
- %s will be replaced by the name of the file containing the mail item,
- the second by the recipient.
-
- If a logfile is specified, then SMTPD will copy all incoming mail
- to that file.
-
- INSTALLATION
- Copy in.smtpd into AmiTCP:serv/
-
- Add the following line to AmiTCP:db/inetd.conf:
-
- smtp stream tcp nowait root amitcp:serv/in.smtpd
-
- Ensure that rmail will be your path.
-
- Ensure that the environment variable HostName is set to the fully
- qualified name of your machine (eg myhost.myco.com). This is setup
- automatically in a standard AmiTCP installation.
-
- To specify a log file or alternative to rmail, a line of the following
- form is needed in inetd.conf:
-
- smtp stream tcp nowait root amitcp:serv/in.smtpd smtpd "parms"
-
- where parms is the options you require. Note that any double quotes in
- the parameters will need to be escaped using the standard AmigaDOS
- escape character (*). A sample might be:
-
- "LOG uumail:incoming.log RMAIL *"MyReceive %s %s*""
-
- SEE ALSO
- mail RFC821 rmail
-
- BUGS
- AmigaElm also uses the environment variable HostName, for a different
- purpose...
-
- HISTORY
-
- Version 1.87
- Timeouts sorted out (set at 3 minutes)
- Improved logging
-
- CONTACT
- Graham Walter - gwalter@gwalter.demon.co.uk
-